home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #2 / Ham Radio 2000 - Volume 2.iso / HAMV2 / MISC / DTMFF110 / SB.H < prev    next >
Text File  |  1997-08-05  |  2KB  |  51 lines

  1.  
  2. /* Defines for Soundblaster and Soundblaster Pro IO address */
  3. #define SB_BASE sb_addr        /* Use these values as offsets */
  4. #define LEFT_FM_STATUS        SB_BASE+0x00    /* Pro only */
  5. #define LEFT_FM_ADDRESS        SB_BASE+0x00    /* Pro only */
  6. #define LEFT_FM_DATA        SB_BASE+0x01    /* Pro only */
  7. #define RIGHT_FM_STATUS        SB_BASE+0x02    /* Pro only */
  8. #define RIGHT_FM_ADDRESS    SB_BASE+0x02    /* Pro only */
  9. #define RIGHT_FM_DATA        SB_BASE+0x03    /* Pro only */
  10. #define MIXER_ADDRESS        SB_BASE+0x04    /* Pro only */
  11. #define MIXER_DATA        SB_BASE+0x05    /* Pro only */
  12. #define DSP_RESET        SB_BASE+0x06
  13. #define FM_STATUS        SB_BASE+0x08
  14. #define FM_ADDRESS        SB_BASE+0x08
  15. #define FM_DATA            SB_BASE+0x09
  16. #define DSP_READ_DATA        SB_BASE+0x0A
  17. #define DSP_WRITE_DATA        SB_BASE+0x0C
  18. #define DSP_WRITE_STATUS    SB_BASE+0x0C
  19. #define DSP_DATA_AVAIL        SB_BASE+0x0E
  20. #define CD_ROM_DATA        SB_BASE+0x10    /* Pro only */
  21. #define CD_ROM_STATUS        SB_BASE+0x11    /* Pro only */
  22. #define CD_ROM_RESET        SB_BASE+0x12    /* Pro only */
  23. #define CD_ROM_ENABLE        SB_BASE+0x13    /* Pro only */
  24.  
  25. #define ADLIB_FM_STATUS        0x388
  26. #define ADLIB_FM_ADDRESS    0x388
  27. #define ADLIB_FM_DATA        0x389
  28.  
  29. /* Defines for 8237 DMA Controller IO addresses */
  30. #define DMA        0x00
  31. #define CH0_BASE    DMA+0
  32. #define CH0_COUNT   DMA+1
  33. #define CH1_BASE    DMA+2
  34. #define CH1_COUNT   DMA+3
  35. #define CH2_BASE    DMA+4
  36. #define CH2_COUNT   DMA+5
  37. #define CH3_BASE    DMA+6
  38. #define CH3_COUNT   DMA+7
  39. #define DMA_STATUS  DMA+8
  40. #define DMA_CMD        DMA+8
  41. #define DMA_REQUEST DMA+9
  42. #define DMA_MASK    DMA+10
  43. #define DMA_MODE    DMA+11
  44. #define DMA_FF        DMA+12
  45. #define DMA_TMP        DMA+13
  46. #define DMA_CLEAR   DMA+13
  47. #define DMA_CLRMSK  DMA+14
  48. #define DMA_WRMSK   DMA+15
  49. #define DMAPAGE        0x80
  50.  
  51.